package com.jack.bookshop.vo;

import java.util.List;

public class CategoryVo {
    int id;
    String text;
    List<CategoryVo> list;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<CategoryVo> getList() {
        return list;
    }

    public void setList(List<CategoryVo> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "CategoryVo{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", list=" + list +
                '}';
    }
}
